package org.cloudbus.cloudsim.examples.power.parallel.helper;

import java.util.List;

import org.cloudbus.cloudsim.examples.power.parallel.MainFieldInfo;

public abstract class CalcJobsSubmitTime {
	
	/**
	 * Set time used to calculate average
	 */
	protected int time;
	
	protected List<MainFieldInfo> infos;
	
	
	public CalcJobsSubmitTime(List<MainFieldInfo> infos) {
		super();
		this.infos = infos;
	}

	/**
	 * Calculate average number of jobs per time from job List
	 * @param fieldInfos
	 */
	public abstract double calAverageJobPerTime();
	
	public abstract List<Integer> getClusterJobs();

	
}
